package edu.sctu.practice.class02.zhaozhongjun.test8;

/**
 * Created by 赵中军 on 2015/10/19.
 */
public class Truck extends Vehicles {
    public float load;

    public Truck(String brand, String color,float load) {
        super(brand, color);
        this.load=load;
    }
    public void showTruck(){
        super.showInfo() ;
        System.out.println("载重："+load);
    }
}
